<!--导航栏-->
<div class="row-fluid">
    <div class="navbar no-margin">
        <div class="navbar-inner">
            <ul class="breadcrumb">
                <i class="icon-chevron-left hide-sidebar"><a href='#' title="Hide Sidebar" rel='tooltip'>&nbsp;</a></i>
                <i class="icon-chevron-right show-sidebar" style="display:none;"><a href='#' title="Show Sidebar"
                                                                                    rel='tooltip'>&nbsp;</a></i>
                <li>
                    <a href="#/onduty">首页</a>
                </li>
                <li class="active">指标报告</li>
            </ul>
        </div>
    </div>
</div>

<div class="pull-convert-alert"></div>

<div class="container-fluid">
    <div style="margin: 10px">
        <div style="margin: 0 0 10px 0">
            团队：<input type="text" name="groupId" ng-model="vm.p.groupId" style="height:30px" placeholder="团队" value="-" />
            项目：<input type="text" name="kpiId" ng-model="vm.p.kpiId" style="height:30px" placeholder="项目" value="-" />
            指标：<input type="text" name="metricId" ng-model="vm.p.metricId" style="height:30px" placeholder="目标项" value="-" />
            负责人：<input type="text" name="ownerId" ng-model="vm.p.ownerId" style="height:30px" placeholder="OA" value="lixiyong01" />
            <a href="" style="margin-left:10px;" class="btn btn-primary" ng-click="queryReport()"> 查询 </a>
        </div>
        <hr/>
        <div class="row">
            <div class="col-sm-12 col-md-12 main" style="float: right">
                <label style="float: right">耗时：{{vm.result.ms}}ms</label>
                <h3 class="sub-header" style="display:inline-block; font-weight: 700;font-size: 14px;padding: 20px 10px 5px 0;"> 指标报告 </h3>
                <table id="list_table" class="table table-condensed">
                    <thead>
                    <tr>
                        <th data-field="SerialNumber" data-sortable="true" data-formatter="serialFormatter">序号</th>
                        <th data-field="id" data-sortable="true" data-formatter="reportIdFmt">操作</th>
                        <th data-field="groupId" data-sortable="true">团队</th>
                        <th data-field="kpiId" data-sortable="true">项目</th>
                        <th data-field="metricId" data-sortable="true">指标</th>
                        <th data-field="planValue" data-sortable="true">目标值</th>
                        <th data-field="metricValue" data-sortable="true">指标值</th>
                        <th data-field="reportDate" data-sortable="true">上报时间</th>
                        <th data-field="ownerId" data-sortable="true">负责人</th>
                    </tr>
                    </thead>
                </table>
            </div>
        </div>
    </div>
</div>
